﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NetDon.OA.Data.EntityClasses;
using NetDon.OA.Interface.Location;

namespace NetDon.OA.Interface
{

    public interface ILocationService
    {
        IEnumerable<ProvinceData> GetProvinces();
        ProvinceData GetProvince(string provinceCode);
        IEnumerable<CityData> GetCities(string provinceCode);
        CityData GetCity(string cityCode);
        IEnumerable<AreaData> GetAreas(string cityCode);
        AreaData GetArea(string areaCode);

        ProvinceData GetProvinceByName(string name);


        CityData GetCityByName(string city);

    }
}
